home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / Xpm / README
Text File  |  1994-08-01  |  2KB  |  52 lines

  1.        
  2.                    ~4Dgifts/toolbox/public/Xpm README
  3.  
  4.    
  5.     The Xpm subtree contains the Xpm library and pixmap, a pixmap editor.
  6.  
  7.  
  8.     As always, if you encounter problems building libraries/apps/etc.,
  9.     remember to backup and start over with:
  10.  
  11.     % xmkmf
  12.     % make Makefile(s)
  13.     % make depend
  14.     % make 
  15.  
  16.                           XPM library, Version 3
  17.  
  18.     XPM (X PixMap) is a format for storing/retrieving X pixmaps to/from 
  19.     files.  The lib directory contains the Xpm library containing a set 
  20.     of four functions, similar to the X bitmap functions as defined in Xlib:
  21.     XpmCreatePixmapFromData, XpmCreateDataFromPixmap, XpmReadFileToPixmap 
  22.     and XpmWriteFileFromPixmap for respectively including, storing, reading 
  23.     and writing this format, plus four others: XpmCreateImageFromData, 
  24.     XpmCreateDataFromImage, XpmReadFileToImage and XpmWriteFileFromImage for
  25.     working with images instead of pixmaps.
  26.  
  27.     This version provides a C-includable format, defaults for different 
  28.     types of display--monochrome/color/grayscale--, hotspot coordinates and 
  29.     symbol names for colors for overriding default colors when creating the 
  30.     pixmap.  It provides a mechanism for storing information while reading a 
  31.     file which is re-used while writing.  This way comments, default colors 
  32.     and symbol names aren't lost.  It also handles "transparent pixels" by 
  33.     returning a shape mask in addition to the created pixmap.
  34.  
  35.  
  36.  
  37.                      Pixmap version 2.0 R4/R5 version
  38.  
  39.     pixmap, a pixmap editor based on XPM version 3.2 library, is similar to 
  40.     the bitmap editor.  As with Bitmap, it provides facilities to edit 
  41.     pixmaps stored in files in XPM 3.2 format.  
  42.  
  43.     The pixmap program is a tool for creating or editing rectangular images 
  44.     made up of colored pixels, i.e., pixmaps.  Pixmaps are intensively used 
  45.     in X to define window backgrounds, icon images, etc.
  46.  
  47.     The pixmap program can have two different interfaces, a Athena widgets 
  48.     version and a Motif widgets version.
  49.  
  50.     The XPM library is necessary to compile pixmap with. 
  51.  
  52.